<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MagTwin: GMesh Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">MagTwin<span id="projectnumber">&#160;V0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_g_mesh-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">GMesh Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Gmsh类是用来提取Gmsh网格文件中的网格信息  
 <a href="#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_g_mesh_8h_source.html">GMesh.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac69c0f8d1830105d20f647acef2ad8e6" id="r_ac69c0f8d1830105d20f647acef2ad8e6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac69c0f8d1830105d20f647acef2ad8e6">GMesh</a> ()</td></tr>
<tr class="memdesc:ac69c0f8d1830105d20f647acef2ad8e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数  <br /></td></tr>
<tr class="separator:ac69c0f8d1830105d20f647acef2ad8e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e42a8e60cdc354f9a4ab2226e2cf0c2" id="r_a6e42a8e60cdc354f9a4ab2226e2cf0c2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6e42a8e60cdc354f9a4ab2226e2cf0c2">~GMesh</a> ()</td></tr>
<tr class="memdesc:a6e42a8e60cdc354f9a4ab2226e2cf0c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数 <br  />
  <br /></td></tr>
<tr class="separator:a6e42a8e60cdc354f9a4ab2226e2cf0c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e0f8e5639168033d51f43f603364dc0" id="r_a1e0f8e5639168033d51f43f603364dc0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1e0f8e5639168033d51f43f603364dc0">getMesh</a> (std::string filename)</td></tr>
<tr class="memdesc:a1e0f8e5639168033d51f43f603364dc0"><td class="mdescLeft">&#160;</td><td class="mdescRight">读取Gmsh网格文件  <br /></td></tr>
<tr class="separator:a1e0f8e5639168033d51f43f603364dc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63962ef5902d1f7cc5f2264d026d0250" id="r_a63962ef5902d1f7cc5f2264d026d0250"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a63962ef5902d1f7cc5f2264d026d0250">clearMesh</a> ()</td></tr>
<tr class="memdesc:a63962ef5902d1f7cc5f2264d026d0250"><td class="mdescLeft">&#160;</td><td class="mdescRight">清除网格信息 <br  />
  <br /></td></tr>
<tr class="separator:a63962ef5902d1f7cc5f2264d026d0250"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b855296f6f8192b54f558f231859959" id="r_a2b855296f6f8192b54f558f231859959"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::vector&lt; double &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2b855296f6f8192b54f558f231859959">getcoord</a> () const</td></tr>
<tr class="memdesc:a2b855296f6f8192b54f558f231859959"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取网格结点坐标信息 <br  />
  <br /></td></tr>
<tr class="separator:a2b855296f6f8192b54f558f231859959"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a501e0df80872490fca6df7d4bce0baf8" id="r_a501e0df80872490fca6df7d4bce0baf8"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a501e0df80872490fca6df7d4bce0baf8">getelement_P</a> () const</td></tr>
<tr class="memdesc:a501e0df80872490fca6df7d4bce0baf8"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取网格点单元点集信息 <br  />
  <br /></td></tr>
<tr class="separator:a501e0df80872490fca6df7d4bce0baf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36d0fa646a9c75171d33c5664241af16" id="r_a36d0fa646a9c75171d33c5664241af16"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a36d0fa646a9c75171d33c5664241af16">getelement_L</a> () const</td></tr>
<tr class="memdesc:a36d0fa646a9c75171d33c5664241af16"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取网格线单元信息 <br  />
  <br /></td></tr>
<tr class="separator:a36d0fa646a9c75171d33c5664241af16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc02f89adbeb110307be27d828a80a11" id="r_afc02f89adbeb110307be27d828a80a11"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#afc02f89adbeb110307be27d828a80a11">getelement_S</a> () const</td></tr>
<tr class="memdesc:afc02f89adbeb110307be27d828a80a11"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取网格面单元信息 <br  />
  <br /></td></tr>
<tr class="separator:afc02f89adbeb110307be27d828a80a11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae946defa2c97c62d091fb464ab27188d" id="r_ae946defa2c97c62d091fb464ab27188d"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae946defa2c97c62d091fb464ab27188d">getelement_V</a> () const</td></tr>
<tr class="memdesc:ae946defa2c97c62d091fb464ab27188d"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取网格体单元信息 <br  />
  <br /></td></tr>
<tr class="separator:ae946defa2c97c62d091fb464ab27188d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd8521215d959cc09c24b6663372c93c" id="r_acd8521215d959cc09c24b6663372c93c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#acd8521215d959cc09c24b6663372c93c">getnumNodes</a> () const</td></tr>
<tr class="memdesc:acd8521215d959cc09c24b6663372c93c"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取网格结点数量 <br  />
  <br /></td></tr>
<tr class="separator:acd8521215d959cc09c24b6663372c93c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8843ee00e343c3f78c597d2327282c4" id="r_ae8843ee00e343c3f78c597d2327282c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae8843ee00e343c3f78c597d2327282c4">getnumElements</a> () const</td></tr>
<tr class="memdesc:ae8843ee00e343c3f78c597d2327282c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取网格单元数量 <br  />
  <br /></td></tr>
<tr class="separator:ae8843ee00e343c3f78c597d2327282c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbfc504f3958c3d39031867fcb756ac4" id="r_abbfc504f3958c3d39031867fcb756ac4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#abbfc504f3958c3d39031867fcb756ac4">setselectedNodes</a> (std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt; selectedNodes)</td></tr>
<tr class="memdesc:abbfc504f3958c3d39031867fcb756ac4"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置选中的结点编号 <br  />
  <br /></td></tr>
<tr class="separator:abbfc504f3958c3d39031867fcb756ac4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1164636732ec92a6ac4acb2de413dd0" id="r_aa1164636732ec92a6ac4acb2de413dd0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa1164636732ec92a6ac4acb2de413dd0">setselectedElements</a> (std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt; selectedElements)</td></tr>
<tr class="memdesc:aa1164636732ec92a6ac4acb2de413dd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置选中的单元编号 <br  />
  <br /></td></tr>
<tr class="separator:aa1164636732ec92a6ac4acb2de413dd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35ed0c043375f23a5e7f661e22ddb5b3" id="r_a35ed0c043375f23a5e7f661e22ddb5b3"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a35ed0c043375f23a5e7f661e22ddb5b3">getselectedNodes</a> () const</td></tr>
<tr class="memdesc:a35ed0c043375f23a5e7f661e22ddb5b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取选中的结点编号 <br  />
  <br /></td></tr>
<tr class="separator:a35ed0c043375f23a5e7f661e22ddb5b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1050100fa0462e18ee65584d6b57e4cf" id="r_a1050100fa0462e18ee65584d6b57e4cf"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1050100fa0462e18ee65584d6b57e4cf">getselectedElements</a> () const</td></tr>
<tr class="memdesc:a1050100fa0462e18ee65584d6b57e4cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取选中的单元编号 <br  />
  <br /></td></tr>
<tr class="separator:a1050100fa0462e18ee65584d6b57e4cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Gmsh类是用来提取Gmsh网格文件中的网格信息 </p>
<p>提供了读取Gmsh网格文件的接口</p>
<p>网格信息包括节点坐标、单元信息、边界信息等</p>
<p>网格文件格式参考：支持二维三角形单元以及三维四面体单元</p>
<p>网格文件格式参考：https://gmsh.info/doc/texinfo/gmsh.html#MSH-file-format </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac69c0f8d1830105d20f647acef2ad8e6" name="ac69c0f8d1830105d20f647acef2ad8e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac69c0f8d1830105d20f647acef2ad8e6">&#9670;&#160;</a></span>GMesh()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GMesh::GMesh </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造函数 </p>
<p>构造函数，将类成员变量初始化为默认值 </p>

</div>
</div>
<a id="a6e42a8e60cdc354f9a4ab2226e2cf0c2" name="a6e42a8e60cdc354f9a4ab2226e2cf0c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e42a8e60cdc354f9a4ab2226e2cf0c2">&#9670;&#160;</a></span>~GMesh()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GMesh::~GMesh </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>析构函数 <br  />
 </p>
<p>析构函数默认不做任何事情 </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a63962ef5902d1f7cc5f2264d026d0250" name="a63962ef5902d1f7cc5f2264d026d0250"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63962ef5902d1f7cc5f2264d026d0250">&#9670;&#160;</a></span>clearMesh()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GMesh::clearMesh </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>清除网格信息 <br  />
 </p>
<p>清除网格信息，将类成员变量初始化为默认值 </p>

</div>
</div>
<a id="a2b855296f6f8192b54f558f231859959" name="a2b855296f6f8192b54f558f231859959"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b855296f6f8192b54f558f231859959">&#9670;&#160;</a></span>getcoord()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::vector&lt; double &gt; &gt; GMesh::getcoord </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取网格结点坐标信息 <br  />
 </p>
<p>获取结点编号以及对应的坐标信息 </p><dl class="section return"><dt>Returns</dt><dd>二维矩阵，每一行代表一个结点的坐标信息。总列数为4，第1列为结点全局编号，后3列分别为x、y、z坐标 </dd></dl>

</div>
</div>
<a id="a36d0fa646a9c75171d33c5664241af16" name="a36d0fa646a9c75171d33c5664241af16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36d0fa646a9c75171d33c5664241af16">&#9670;&#160;</a></span>getelement_L()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt; &gt; GMesh::getelement_L </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取网格线单元信息 <br  />
 </p>
<p>获取网格信息中的线单元编号以及对应的全局结点编号 </p><dl class="section return"><dt>Returns</dt><dd>二维矩阵，每一行代表一个线单元的结点编号。总列数为4，第1列为线集组编号， 第2列为线单元局部编号，第3列到第4列为线单元对应的全局结点编号 </dd></dl>

</div>
</div>
<a id="a501e0df80872490fca6df7d4bce0baf8" name="a501e0df80872490fca6df7d4bce0baf8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a501e0df80872490fca6df7d4bce0baf8">&#9670;&#160;</a></span>getelement_P()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt; &gt; GMesh::getelement_P </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取网格点单元点集信息 <br  />
 </p>
<p>获取网格信息中的点单元编号以及对应的全局结点编号 </p><dl class="section return"><dt>Returns</dt><dd>二维矩阵，每一行代表一个点单元的结点编号。总列数为3，第1列为点集组编号， 第2列为点单元局部编号，第3列为点单元对应的全局编号 </dd></dl>

</div>
</div>
<a id="afc02f89adbeb110307be27d828a80a11" name="afc02f89adbeb110307be27d828a80a11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc02f89adbeb110307be27d828a80a11">&#9670;&#160;</a></span>getelement_S()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt; &gt; GMesh::getelement_S </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取网格面单元信息 <br  />
 </p>
<p>获取网格信息中的面单元编号以及对应的全局结点编号 </p><dl class="section return"><dt>Returns</dt><dd>二维矩阵，每一行代表一个面单元的结点编号。总列数为5，第1列为面集组编号， 第2列为面单元局部编号，第3列到第5列为面单元对应的全局结点编号 </dd></dl>

</div>
</div>
<a id="ae946defa2c97c62d091fb464ab27188d" name="ae946defa2c97c62d091fb464ab27188d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae946defa2c97c62d091fb464ab27188d">&#9670;&#160;</a></span>getelement_V()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt; &gt; GMesh::getelement_V </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取网格体单元信息 <br  />
 </p>
<p>获取网格信息中的体单元编号以及对应的全局结点编号 </p><dl class="section return"><dt>Returns</dt><dd>二维矩阵，每一行代表一个体单元的结点编号。总列数为6，第1列为体集组编号， 第2列为体单元局部编号，第3列到第6列为体单元对应的全局结点编号 </dd></dl>

</div>
</div>
<a id="a1e0f8e5639168033d51f43f603364dc0" name="a1e0f8e5639168033d51f43f603364dc0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e0f8e5639168033d51f43f603364dc0">&#9670;&#160;</a></span>getMesh()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GMesh::getMesh </td>
          <td>(</td>
          <td class="paramtype">std::string</td>          <td class="paramname"><span class="paramname"><em>filename</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>读取Gmsh网格文件 </p>
<p>读取Gmsh网格文件，并提取网格信息 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>网格文件名称 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae8843ee00e343c3f78c597d2327282c4" name="ae8843ee00e343c3f78c597d2327282c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8843ee00e343c3f78c597d2327282c4">&#9670;&#160;</a></span>getnumElements()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> GMesh::getnumElements </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取网格单元数量 <br  />
 </p>
<p>获取网格中单元的数量 </p><dl class="section return"><dt>Returns</dt><dd>单元数量 </dd></dl>

</div>
</div>
<a id="acd8521215d959cc09c24b6663372c93c" name="acd8521215d959cc09c24b6663372c93c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd8521215d959cc09c24b6663372c93c">&#9670;&#160;</a></span>getnumNodes()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> GMesh::getnumNodes </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取网格结点数量 <br  />
 </p>
<p>获取网格中结点的数量 </p><dl class="section return"><dt>Returns</dt><dd>结点数量 </dd></dl>

</div>
</div>
<a id="a1050100fa0462e18ee65584d6b57e4cf" name="a1050100fa0462e18ee65584d6b57e4cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1050100fa0462e18ee65584d6b57e4cf">&#9670;&#160;</a></span>getselectedElements()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt; GMesh::getselectedElements </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取选中的单元编号 <br  />
 </p>
<p>获取选中的单元编号 </p><dl class="section return"><dt>Returns</dt><dd>选中的单元编号 </dd></dl>

</div>
</div>
<a id="a35ed0c043375f23a5e7f661e22ddb5b3" name="a35ed0c043375f23a5e7f661e22ddb5b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35ed0c043375f23a5e7f661e22ddb5b3">&#9670;&#160;</a></span>getselectedNodes()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt; GMesh::getselectedNodes </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取选中的结点编号 <br  />
 </p>
<p>获取选中的结点编号 </p><dl class="section return"><dt>Returns</dt><dd>选中的结点编号 </dd></dl>

</div>
</div>
<a id="aa1164636732ec92a6ac4acb2de413dd0" name="aa1164636732ec92a6ac4acb2de413dd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1164636732ec92a6ac4acb2de413dd0">&#9670;&#160;</a></span>setselectedElements()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void GMesh::setselectedElements </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt;</td>          <td class="paramname"><span class="paramname"><em>selectedElements</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置选中的单元编号 <br  />
 </p>
<p>设置选中的单元编号 </p>

</div>
</div>
<a id="abbfc504f3958c3d39031867fcb756ac4" name="abbfc504f3958c3d39031867fcb756ac4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abbfc504f3958c3d39031867fcb756ac4">&#9670;&#160;</a></span>setselectedNodes()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void GMesh::setselectedNodes </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="_g_mesh_8h.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> &gt;</td>          <td class="paramname"><span class="paramname"><em>selectedNodes</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置选中的结点编号 <br  />
 </p>
<p>设置选中的结点编号 </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>mesh/include/<a class="el" href="_g_mesh_8h_source.html">GMesh.h</a></li>
<li>mesh/<b>GMesh.cpp</b></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
</small></address>
</body>
</html>
